<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<html>
	<head>
		<title>选择用户</title>
		<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
		<script src="${contextPath}/scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
		<script type="text/javascript">
		function jumpPage(page) {
			var searchForm = document.searchForm;
			searchForm.action = "<s:property value='contextPath'/>/system/user/choose.do?currentPage=" + page;
			searchForm.submit();
		}
		
		function choose(id_,name_){
			window.opener.choose_user(id_,name_);
			window.close();
		}
		</script>
	</head>
	<body>
      <form name="searchForm" id="searchForm" method="post" action="choose.do">
	      <table width="100%" border="0" cellspacing="-1" cellpadding="-1">
	        <tr><td>
	        	<!-- <input type="hidden" name="search.state" value="3" /> -->
	        </td></tr>
	      </table>
      </form>
      
      <table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
		    <td height="25" align="left"><font color="#0066CC"><strong>合格证列表：</strong></font></td>
		    <td height="25" align="right">
            </td>
		  </tr>
		</table>
<form name="searchForm" id="searchForm" method="post" action="choose.do">
	<input type="hidden" name="us.post" value="<s:property value="us.post"/>" />
<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
	  <tr> 
	    <td width="5%" class="top-td-width-bg">序号</td>
		<td width="30%" class="top-td-width-bg">姓名</td>
		<td width="30%" class="top-td-width-bg">性别</td>
		<td width="35%" class="top-td-width-bg">入职时间</td>
	  </tr>
	 <s:iterator value="page.result" status="st" >
		<tr> 
			<td class="down-left-td-width-bg"><s:property value="#st.index+1"/></td>
		    <td class="down-left-td-width-bg"><a href="javascript:choose('<s:property value="id"/>','<s:property value="realName"/>')"><s:property value="realName"/></a></td>
			<td class="down-left-td-width-bg">${sex }</td>
			<td class="down-left-td-width-bg"><s:date name="entryDate" format="yyyy-MM-dd"/></td>
			
		</tr>
	</s:iterator>
	<tr bgcolor="#F9FCEF"> 
	 <td height="36" colspan="12" align="center">
			<%@ include file="/WEB-INF/view/common/pagination.jsp"%>
	 </td>
	</tr>
	
	</table>
	</form>
	</body>
</html>